package com.juzipi.data.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.juzipi.data.mapper.TeacherAgeMapper;
import com.juzipi.data.model.TeacherAge;
import com.juzipi.data.service.TeacherAgeService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author juzipi
 * @Date 2021/7/2 8:27
 * @Info
 */
@Service
public class TeacherAgeServiceImpl extends ServiceImpl<TeacherAgeMapper, TeacherAge> implements TeacherAgeService {


    @Override
    public void savesave() {
        baseMapper.savesave();
    }

    @Override
    public void delete() {
        baseMapper.deleteAll();
    }

    @Override
    public void updateAll(List<Long> longs, ArrayList<Integer> integers) {
        baseMapper.updateAll(longs,integers);
    }

    @Override
    public List<Long> selectLimit(int limit, int offset) {
        return baseMapper.selectLimt(limit,offset);
    }


}
